projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36cb165
)
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-fixnum-p): Fix.
author
Andrea Corallo
<acorallo@gnu.org>
Wed, 10 Apr 2024 15:35:08 +0000
(17:35 +0200)
committer
Andrea Corallo
<acorallo@gnu.org>
Wed, 10 Apr 2024 16:16:26 +0000
(18:16 +0200)
lisp/emacs-lisp/comp-cstr.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp-cstr.el
b/lisp/emacs-lisp/comp-cstr.el
index d6cb887759fce6e06a1ac57f2a83524dc3cf80ea..7452b8568dedfa26ba66856712ea91f4148c4d37 100644
(file)
--- a/
lisp/emacs-lisp/comp-cstr.el
+++ b/
lisp/emacs-lisp/comp-cstr.el
@@
-912,7
+912,9
@@
Non memoized version of `comp-cstr-intersection-no-mem'."
(defun comp-cstr-fixnum-p (cstr)
"Return t if CSTR is certainly a fixnum."
(with-comp-cstr-accessors
- (when (null (neg cstr))
+ (when (and (null (neg cstr))
+ (null (valset cstr))
+ (null (typeset cstr)))
(when-let (range (range cstr))
(let* ((low (caar range))
(high (cdar (last range))))